package org.lqq.client;

import org.lqq.config.ServerFinderAndRegisterConfig;
import org.lqq.serverRegisterAndFinder.ServerFinderAndRegister;
import org.lqq.serverRegisterAndFinder.eureka.EurekaFactory;

/**
 * Created by 李清泉 on 2017/10/26.
 *
 * @remark
 */
public abstract class DefaultConfigClient extends CommonConfigClient {


    @Override
    protected ServerFinderAndRegister getServerFinderAndRegister(ServerFinderAndRegisterConfig serverFinderAndRegisterConfig) {
        return EurekaFactory.create(serverFinderAndRegisterConfig);
    }


}
